<template>
  <div id="map"></div>
</template>

<script setup>
import {onMounted} from "vue"
import {gaode_vector} from '../gaode_libs/gaode'
import {app} from '../main'
onMounted(()=>{
  var docLayer = new Zondy.Map.Doc('','gis_plr',{})
  const map = new ol.Map({
    target:'map',
    layers:[gaode_vector,docLayer],
    view: new ol.View({
      center:[114.30,30.50],
      zoom:4,
      projection:'EPSG:4326'
    })
  })
  app.provide('$map',map)
  app.provide('docLayer',docLayer)
})
</script>
<style scoped></style>
